#ifndef FINANCEDIALOG_H
#define FINANCEDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QDateEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>

class FinanceDialog : public QDialog {
    Q_OBJECT

public:
    explicit FinanceDialog(QWidget *parent = nullptr);

    QLineEdit* getId() const { return idInput; }
    QDateEdit* getDate() const { return dateEdit; }
    QLineEdit* getAmount() const { return amountInput; }

private:
    QLineEdit *idInput;
    QDateEdit *dateEdit;
    QLineEdit *amountInput;
    QPushButton *okButton;
    QPushButton *cancelButton;
};

#endif // FINANCEDIALOG_H
